package com.consul01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 作者: LCG
 * 日期: 2019/11/30 10:39
 * 描述:
 */

@SpringBootApplication
@RestController
public class TestConsul01 {

    public static void main(String[] args) {
        SpringApplication.run(TestConsul01.class);
    }

    @RequestMapping("test01Consul")
    public String testHelth(){
        System.out.println("========test01Consul===========");
       return "完成— YvY";
    }
}
